home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Resolve
/
Sample Application
/
Sample Application.rsrc
/
CODE_33_XFCN.txt
< prev
next >
Wrap
Text File
|
1993-07-15
|
44KB
|
789 lines
# near model CODE resource
# jump table entries: 9864-9868 (5 of them)
export_1233:
00000000 4E56 FF00 link A6, -0x0100
00000004 48E7 0118 movem.l -[A7], D7,A3,A4
00000008 3E2E 000A move.w D7, [A6 + 0xA]
0000000C 49EE FF00 lea.l A4, [A6 - 0x100]
00000010 4A47 tst.w D7
00000012 6730 beq +0x32 /* 00000044 */
00000014 266D B2B4 movea.l A3, [A5 - 0x4D4C]
00000018 6026 bra +0x28 /* 00000040 */
label0000001A:
0000001A BE6B 0014 cmp.w D7, [A3 + 0x14]
0000001E 661E bne +0x20 /* 0000003E */
00000020 486B 0018 pea.l [A3 + 0x18]
00000024 2F0C move.l -[A7], A4
00000026 7000 moveq.l D0, 0x00
00000028 102B 0018 move.b D0, [A3 + 0x18]
0000002C 5280 addq.l D0, 1
0000002E 2F00 move.l -[A7], D0
00000030 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
00000034 2F0C move.l -[A7], A4
00000036 4EBA 070A jsr [PC + 0x70A /* 00000742 */]
0000003A 588F addq.l A7, 4
0000003C 6006 bra +0x8 /* 00000044 */
label0000003E:
0000003E 2653 movea.l A3, [A3]
label00000040:
00000040 200B move.l D0, A3
00000042 66D6 bne -0x28 /* 0000001A */
label00000044:
00000044 4CEE 1880 FEF4 movem.l D7,A3,A4, [A6 - 0x10C]
0000004A 4E5E unlink A6
0000004C 4E75 rts
export_1234:
0000004E 48E7 0118 movem.l -[A7], D7,A3,A4
00000052 286F 0014 movea.l A4, [A7 + 0x14]
00000056 3E2F 0012 move.w D7, [A7 + 0x12]
0000005A 4214 clr.b [A4]
0000005C 4A47 tst.w D7
0000005E 673C beq +0x3E /* 0000009C */
00000060 266D B2B4 movea.l A3, [A5 - 0x4D4C]
00000064 6032 bra +0x34 /* 00000098 */
label00000066:
00000066 BE6B 0014 cmp.w D7, [A3 + 0x14]
0000006A 662A bne +0x2C /* 00000096 */
0000006C 7000 moveq.l D0, 0x00
0000006E 2F00 move.l -[A7], D0
00000070 48C7 ext.l D7
00000072 2F07 move.l -[A7], D7
00000074 486B 0118 pea.l [A3 + 0x118]
00000078 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
0000007C 486B 0118 pea.l [A3 + 0x118]
00000080 2F0C move.l -[A7], A4
00000082 7000 moveq.l D0, 0x00
00000084 102B 0118 move.b D0, [A3 + 0x118]
00000088 5280 addq.l D0, 1
0000008A 2F00 move.l -[A7], D0
0000008C 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
00000090 4FEF 000C lea.l A7, [A7 + 0xC]
00000094 6006 bra +0x8 /* 0000009C */
label00000096:
00000096 2653 movea.l A3, [A3]
label00000098:
00000098 200B move.l D0, A3
0000009A 66CA bne -0x34 /* 00000066 */
label0000009C:
0000009C 4CDF 1880 movem.l D7,A3,A4, [A7]+
000000A0 4E75 rts
fn000000A2:
000000A2 4E56 0000 link A6, 0
000000A6 48E7 0018 movem.l -[A7], A3,A4
000000AA 286E 0008 movea.l A4, [A6 + 0x8]
000000AE 266E 0010 movea.l A3, [A6 + 0x10]
000000B2 7000 moveq.l D0, 0x00
000000B4 2B40 B2C6 move.l [A5 - 0x4D3A], D0
000000B8 2B6E 000C B2BE move.l [A5 - 0x4D42], [A6 + 0xC]
000000BE 206D B2B0 movea.l A0, [A5 - 0x4D50]
000000C2 2178 0316 0010 move.l [A0 + 0x10], [0x00000316 /* HpChk/MacPgm */]
000000C8 21ED B2B0 0316 move.l [0x00000316 /* HpChk/MacPgm */], [A5 - 0x4D50]
000000CE 206D B2B0 movea.l A0, [A5 - 0x4D50]
000000D2 216C 0008 000C move.l [A0 + 0xC], [A4 + 0x8]
000000D8 206D B2B0 movea.l A0, [A5 - 0x4D50]
000000DC 214C 0018 move.l [A0 + 0x18], A4
000000E0 2B4B B2C2 move.l [A5 - 0x4D3E], A3
000000E4 6710 beq +0x12 /* 000000F6 */
000000E6 426B 000C clr.w [A3 + 0xC]
000000EA 7000 moveq.l D0, 0x00
000000EC 2740 0008 move.l [A3 + 0x8], D0
000000F0 2740 0004 move.l [A3 + 0x4], D0
000000F4 2680 move.l [A3], D0
label000000F6:
000000F6 4A6D AF58 tst.w [A5 - 0x50A8]
000000FA 670C beq +0xE /* 00000108 */
000000FC 558F subq.l A7, 2
000000FE 486D AF4A pea.l [A5 - 0x50B6]
00000102 4EAD 043A jsr [A5 + 0x43A /* export_131 */]
00000106 548F addq.l A7, 2
label00000108:
00000108 598F subq.l A7, 4
0000010A 4878 4000 push.l 0x4000 /* '@\0' */
0000010E 4EAD 03DA jsr [A5 + 0x3DA /* export_119 */]
00000112 2B5F B2AA move.l [A5 - 0x4D56], [A7]+
00000116 7000 moveq.l D0, 0x00
00000118 2F00 move.l -[A7], D0
0000011A 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
0000011E 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000124 4E5E unlink A6
00000126 4E75 rts
fn00000128:
00000128 7000 moveq.l D0, 0x00
0000012A 2B40 B2C2 move.l [A5 - 0x4D3E], D0
0000012E 2B40 B2BE move.l [A5 - 0x4D42], D0
00000132 2B40 B2C6 move.l [A5 - 0x4D3A], D0
00000136 3B7C 0002 AF54 move.w [A5 - 0x50AC], 0x2
0000013C 206D B2B0 movea.l A0, [A5 - 0x4D50]
00000140 21E8 0010 0316 move.l [0x00000316 /* HpChk/MacPgm */], [A0 + 0x10]
00000146 206D B2B0 movea.l A0, [A5 - 0x4D50]
0000014A 2140 000C move.l [A0 + 0xC], D0
0000014E 4A6D AF58 tst.w [A5 - 0x50A8]
00000152 670C beq +0xE /* 00000160 */
00000154 558F subq.l A7, 2
00000156 486D AF4A pea.l [A5 - 0x50B6]
0000015A 4EAD 0432 jsr [A5 + 0x432 /* export_130 */]
0000015E 548F addq.l A7, 2
label00000160:
00000160 4AAD B2AA tst.l [A5 - 0x4D56]
00000164 6708 beq +0xA /* 0000016E */
00000166 2F2D B2AA move.l -[A7], [A5 - 0x4D56]
0000016A 4EAD 03EA jsr [A5 + 0x3EA /* export_121 */]
label0000016E:
0000016E 486D 0172 pea.l [A5 + 0x172 /* export_42 */]
00000172 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
00000176 4E75 rts
export_1235:
00000178 4E56 FEFC link A6, -0x0104
0000017C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000180 2A2E 000C move.l D5, [A6 + 0xC]
00000184 49EE FF00 lea.l A4, [A6 - 0x100]
00000188 558F subq.l A7, 2
0000018A A994 syscall CurResFile
0000018C 381F move.w D4, [A7]+
0000018E 4246 clr.w D6
00000190 3E05 move.w D7, D5
00000192 6000 00A2 bra +0xA4 /* 00000236 */
label00000196:
00000196 206E 0008 movea.l A0, [A6 + 0x8]
0000019A 48C7 ext.l D7
0000019C 2007 move.l D0, D7
0000019E 2200 move.l D1, D0
000001A0 C0FC 000E mulu.w D0, 0xE
000001A4 4841 swap.w D1
000001A6 C2FC 000E mulu.w D1, 0xE
000001AA 4841 swap.w D1
000001AC 4241 clr.w D1
000001AE D081 add.l D0, D1
000001B0 4230 080C clr.b [A0 + D0 + 0xC]
000001B4 206E 0008 movea.l A0, [A6 + 0x8]
000001B8 48C7 ext.l D7
000001BA 2007 move.l D0, D7
000001BC 2200 move.l D1, D0
000001BE C0FC 000E mulu.w D0, 0xE
000001C2 4841 swap.w D1
000001C4 C2FC 000E mulu.w D1, 0xE
000001C8 4841 swap.w D1
000001CA 4241 clr.w D1
000001CC D081 add.l D0, D1
000001CE 7201 moveq.l D1, 0x01
000001D0 B230 080D cmp.b D1, [A0 + D0 + 0xD]
000001D4 6660 bne +0x62 /* 00000236 */
000001D6 206E 0008 movea.l A0, [A6 + 0x8]
000001DA 48C7 ext.l D7
000001DC 2007 move.l D0, D7
000001DE 2200 move.l D1, D0
000001E0 C0FC 000E mulu.w D0, 0xE
000001E4 4841 swap.w D1
000001E6 C2FC 000E mulu.w D1, 0xE
000001EA 4841 swap.w D1
000001EC 4241 clr.w D1
000001EE D081 add.l D0, D1
000001F0 2B70 0800 BBA0 move.l [A5 - 0x4460], [A0 + D0]
000001F6 206E 0008 movea.l A0, [A6 + 0x8]
000001FA 48C7 ext.l D7
000001FC 2007 move.l D0, D7
000001FE 2200 move.l D1, D0
00000200 C0FC 000E mulu.w D0, 0xE
00000204 4841 swap.w D1
00000206 C2FC 000E mulu.w D1, 0xE
0000020A 4841 swap.w D1
0000020C 4241 clr.w D1
0000020E D081 add.l D0, D1
00000210 2030 0800 move.l D0, [A0 + D0]
00000214 D0AD BBA4 add.l D0, [A5 - 0x445C]
00000218 206E 0008 movea.l A0, [A6 + 0x8]
0000021C 48C7 ext.l D7
0000021E 2207 move.l D1, D7
00000220 2401 move.l D2, D1
00000222 C2FC 000E mulu.w D1, 0xE
00000226 4842 swap.w D2
00000228 C4FC 000E mulu.w D2, 0xE
0000022C 4842 swap.w D2
0000022E 4242 clr.w D2
00000230 D282 add.l D1, D2
00000232 2180 1800 move.l [A0 + D1], D0
label00000236:
00000236 3007 move.w D0, D7
00000238 5347 subq.w D7, 1
0000023A 4A40 tst.w D0
0000023C 6600 FF58 bne -0xA6 /* 00000196 */
00000240 4AAE 0014 tst.l [A6 + 0x14]
00000244 670C beq +0xE /* 00000252 */
00000246 4AAE 0018 tst.l [A6 + 0x18]
0000024A 6706 beq +0x8 /* 00000252 */
0000024C 4AAD B2B0 tst.l [A5 - 0x4D50]
00000250 6606 bne +0x8 /* 00000258 */
label00000252:
00000252 7C3D moveq.l D6, 0x3D
00000254 6000 0130 bra +0x132 /* 00000386 */
label00000258:
00000258 266D B2B4 movea.l A3, [A5 - 0x4D4C]
0000025C 6002 bra +0x4 /* 00000260 */
label0000025E:
0000025E 2653 movea.l A3, [A3]
label00000260:
00000260 200B move.l D0, A3
00000262 6712 beq +0x14 /* 00000276 */
00000264 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000268 486B 0018 pea.l [A3 + 0x18]
0000026C 4EAD 0CFA jsr [A5 + 0xCFA /* export_411 */]
00000270 4A40 tst.w D0
00000272 508F addq.l A7, 8
00000274 66E8 bne -0x16 /* 0000025E */
label00000276:
00000276 200B move.l D0, A3
00000278 671A beq +0x1C /* 00000294 */
0000027A 4AAB 0004 tst.l [A3 + 0x4]
0000027E 6714 beq +0x16 /* 00000294 */
00000280 206B 0004 movea.l A0, [A3 + 0x4]
00000284 4A50 tst.w [A0]
00000286 670C beq +0xE /* 00000294 */
00000288 206B 0004 movea.l A0, [A3 + 0x4]
0000028C 5C88 addq.l A0, 6
0000028E 2D48 FEFC move.l [A6 - 0x104], A0
00000292 6606 bne +0x8 /* 0000029A */
label00000294:
00000294 7C3D moveq.l D6, 0x3D
00000296 6000 00EE bra +0xF0 /* 00000386 */
label0000029A:
0000029A 3F2B 0014 move.w -[A7], [A3 + 0x14]
0000029E A998 syscall UseResFile
000002A0 558F subq.l A7, 2
000002A2 A9AF syscall ResError
000002A4 301F move.w D0, [A7]+
000002A6 48C0 ext.l D0
000002A8 0C80 FFFF FF3F cmpi.l D0, 0xFFFFFF3F
000002AE 6610 bne +0x12 /* 000002C0 */
000002B0 7C3D moveq.l D6, 0x3D
000002B2 2F2E 0014 move.l -[A7], [A6 + 0x14]
000002B6 4EBA 048A jsr [PC + 0x48A /* 00000742 */]
000002BA 588F addq.l A7, 4
000002BC 6000 00C8 bra +0xCA /* 00000386 */
label000002C0:
000002C0 4214 clr.b [A4]
000002C2 206E 0018 movea.l A0, [A6 + 0x18]
000002C6 4A28 0001 tst.b [A0 + 0x1]
000002CA 6704 beq +0x6 /* 000002D0 */
000002CC 7002 moveq.l D0, 0x02
000002CE 6002 bra +0x4 /* 000002D2 */
label000002D0:
000002D0 7001 moveq.l D0, 0x01
label000002D2:
000002D2 3E00 move.w D7, D0
000002D4 6012 bra +0x14 /* 000002E8 */
label000002D6:
000002D6 206E 0018 movea.l A0, [A6 + 0x18]
000002DA 5247 addq.w D7, 1
000002DC 5214 addq.b [A4], 1
000002DE 7000 moveq.l D0, 0x00
000002E0 1014 move.b D0, [A4]
000002E2 19B0 7000 0000 move.b [A4 + D0.w], [A0 + D7.w]
label000002E8:
000002E8 48C7 ext.l D7
000002EA 206E 0018 movea.l A0, [A6 + 0x18]
000002EE 7000 moveq.l D0, 0x00
000002F0 1010 move.b D0, [A0]
000002F2 B087 cmp.l D0, D7
000002F4 6EE0 bgt -0x1E /* 000002D6 */
000002F6 206B 0004 movea.l A0, [A3 + 0x4]
000002FA 3E10 move.w D7, [A0]
000002FC 5347 subq.w D7, 1
000002FE 4A47 tst.w D7
00000300 6D3A blt +0x3C /* 0000033C */
label00000302:
00000302 206E FEFC movea.l A0, [A6 - 0x104]
00000306 48C7 ext.l D7
00000308 2007 move.l D0, D7
0000030A D080 add.l D0, D0
0000030C 2200 move.l D1, D0
0000030E E588 lsl D0, 2
00000310 D081 add.l D0, D1
00000312 4AB0 0804 tst.l [A0 + D0 + 0x4]
00000316 6720 beq +0x22 /* 00000338 */
00000318 2F0C move.l -[A7], A4
0000031A 206E FEFC movea.l A0, [A6 - 0x104]
0000031E 48C7 ext.l D7
00000320 2007 move.l D0, D7
00000322 D080 add.l D0, D0
00000324 2200 move.l D1, D0
00000326 E588 lsl D0, 2
00000328 D081 add.l D0, D1
0000032A 2F30 0804 move.l -[A7], [A0 + D0 + 0x4]
0000032E 4EAD 0CFA jsr [A5 + 0xCFA /* export_411 */]
00000332 4A40 tst.w D0
00000334 508F addq.l A7, 8
00000336 6704 beq +0x6 /* 0000033C */
label00000338:
00000338 51CF FFC8 dbf D7, -0x3A /* 00000302 */
label0000033C:
0000033C 4A47 tst.w D7
0000033E 6C04 bge +0x6 /* 00000344 */
00000340 7C3D moveq.l D6, 0x3D
00000342 6042 bra +0x44 /* 00000386 */
label00000344:
00000344 48C7 ext.l D7
00000346 2207 move.l D1, D7
00000348 D281 add.l D1, D1
0000034A 2001 move.l D0, D1
0000034C E589 lsl D1, 2
0000034E D280 add.l D1, D0
00000350 D3AE FEFC add.l [A6 - 0x104], D1
00000354 206E FEFC movea.l A0, [A6 - 0x104]
00000358 3028 0008 move.w D0, [A0 + 0x8]
0000035C 48C0 ext.l D0
0000035E BA80 cmp.l D5, D0
00000360 6704 beq +0x6 /* 00000366 */
00000362 7C03 moveq.l D6, 0x03
00000364 6020 bra +0x22 /* 00000386 */
label00000366:
00000366 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000036A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000036E 2F0B move.l -[A7], A3
00000370 4EBA FD30 jsr [PC - 0x2D0 /* 000000A2 */]
00000374 206E FEFC movea.l A0, [A6 - 0x104]
00000378 2F10 move.l -[A7], [A0]
0000037A 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
0000037E 4EBA FDA8 jsr [PC - 0x258 /* 00000128 */]
00000382 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000386:
00000386 3F04 move.w -[A7], D4
00000388 A998 syscall UseResFile
0000038A 4A46 tst.w D6
0000038C 6710 beq +0x12 /* 0000039E */
0000038E 48C6 ext.l D6
00000390 2F06 move.l -[A7], D6
00000392 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000396 4EAD 1BB2 jsr [A5 + 0x1BB2 /* export_882 */]
0000039A 508F addq.l A7, 8
0000039C 6030 bra +0x32 /* 000003CE */
label0000039E:
0000039E 206E 0010 movea.l A0, [A6 + 0x10]
000003A2 7001 moveq.l D0, 0x01
000003A4 B068 000C cmp.w D0, [A0 + 0xC]
000003A8 6624 bne +0x26 /* 000003CE */
000003AA 206E 0010 movea.l A0, [A6 + 0x10]
000003AE 2F10 move.l -[A7], [A0]
000003B0 2F2E 0010 move.l -[A7], [A6 + 0x10]
000003B4 4EAD 1B92 jsr [A5 + 0x1B92 /* export_878 */]
000003B8 206E 0010 movea.l A0, [A6 + 0x10]
000003BC 7001 moveq.l D0, 0x01
000003BE B068 000C cmp.w D0, [A0 + 0xC]
000003C2 508F addq.l A7, 8
000003C4 6608 bne +0xA /* 000003CE */
000003C6 206E 0010 movea.l A0, [A6 + 0x10]
000003CA 2B50 BBA0 move.l [A5 - 0x4460], [A0]
label000003CE:
000003CE 4CEE 18F0 FEE4 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x11C]
000003D4 4E5E unlink A6
000003D6 4E75 rts
export_1236:
000003D8 4E56 FDEC link A6, -0x0214
000003DC 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000003E0 286E 0008 movea.l A4, [A6 + 0x8]
000003E4 4245 clr.w D5
000003E6 426E FFF6 clr.w [A6 - 0xA]
000003EA 558F subq.l A7, 2
000003EC A994 syscall CurResFile
000003EE 381F move.w D4, [A7]+
000003F0 4247 clr.w D7
000003F2 200C move.l D0, A4
000003F4 6700 0082 beq +0x84 /* 00000478 */
000003F8 2F0C move.l -[A7], A4
000003FA 4878 032A push.l 0x32A
000003FE 4EAD 0E42 jsr [A5 + 0xE42 /* export_452 */]
00000402 588F addq.l A7, 4
00000404 2F00 move.l -[A7], D0
00000406 41EE FEF6 lea.l A0, [A6 - 0x10A]
0000040A 5288 addq.l A0, 1
0000040C 2F08 move.l -[A7], A0
0000040E 4EAD 0EE2 jsr [A5 + 0xEE2 /* export_472 */]
00000412 1D40 FEF6 move.b [A6 - 0x10A], D0
00000416 558F subq.l A7, 2
00000418 486E FEF6 pea.l [A6 - 0x10A]
0000041C 7000 moveq.l D0, 0x00
0000041E 2F00 move.l -[A7], D0
00000420 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00000424 486E FFF8 pea.l [A6 - 0x8]
00000428 486E FFFA pea.l [A6 - 0x6]
0000042C 486E FFFC pea.l [A6 - 0x4]
00000430 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
00000434 4A1F tst.b [A7]+
00000436 4FEF 000C lea.l A7, [A7 + 0xC]
0000043A 663C bne +0x3E /* 00000478 */
0000043C 2F0C move.l -[A7], A4
0000043E 486E FEF6 pea.l [A6 - 0x10A]
00000442 7000 moveq.l D0, 0x00
00000444 102E FEF6 move.b D0, [A6 - 0x10A]
00000448 5280 addq.l D0, 1
0000044A 2F00 move.l -[A7], D0
0000044C 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
00000450 558F subq.l A7, 2
00000452 486E FEF6 pea.l [A6 - 0x10A]
00000456 7000 moveq.l D0, 0x00
00000458 2F00 move.l -[A7], D0
0000045A 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
0000045E 486E FFF8 pea.l [A6 - 0x8]
00000462 486E FFFA pea.l [A6 - 0x6]
00000466 486E FFFC pea.l [A6 - 0x4]
0000046A 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
0000046E 4A1F tst.b [A7]+
00000470 6606 bne +0x8 /* 00000478 */
00000472 3D6D AF2A FFF8 move.w [A6 - 0x8], [A5 - 0x50D6]
label00000478:
00000478 4AAD B2B0 tst.l [A5 - 0x4D50]
0000047C 671C beq +0x1E /* 0000049A */
0000047E 200C move.l D0, A4
00000480 6718 beq +0x1A /* 0000049A */
00000482 558F subq.l A7, 2
00000484 486E FEF6 pea.l [A6 - 0x10A]
00000488 3F2E FFF8 move.w -[A7], [A6 - 0x8]
0000048C 486E FDF4 pea.l [A6 - 0x20C]
00000490 4EAD 04E2 jsr [A5 + 0x4E2 /* export_152 */]
00000494 3D5F FFF6 move.w [A6 - 0xA], [A7]+
00000498 6712 beq +0x14 /* 000004AC */
label0000049A:
0000049A 4A6E FFF6 tst.w [A6 - 0xA]
0000049E 56C7 sne D7
000004A0 0247 0001 andi.w D7, 0x1
000004A4 6606 bne +0x8 /* 000004AC */
000004A6 7A3D moveq.l D5, 0x3D
000004A8 6000 0282 bra +0x284 /* 0000072C */
label000004AC:
000004AC 4A47 tst.w D7
000004AE 660C bne +0xE /* 000004BC */
000004B0 558F subq.l A7, 2
000004B2 3F2E FDF4 move.w -[A7], [A6 - 0x20C]
000004B6 4EAD 049A jsr [A5 + 0x49A /* export_143 */]
000004BA 548F addq.l A7, 2
label000004BC:
000004BC 7000 moveq.l D0, 0x00
000004BE 1014 move.b D0, [A4]
000004C0 3D40 FDF4 move.w [A6 - 0x20C], D0
000004C4 6004 bra +0x6 /* 000004CA */
label000004C6:
000004C6 536E FDF4 subq.w [A6 - 0x20C], 1
label000004CA:
000004CA 4A6E FDF4 tst.w [A6 - 0x20C]
000004CE 6F0C ble +0xE /* 000004DC */
000004D0 302E FDF4 move.w D0, [A6 - 0x20C]
000004D4 723A moveq.l D1, 0x3A
000004D6 B234 0000 cmp.b D1, [A4 + D0.w]
000004DA 66EA bne -0x14 /* 000004C6 */
label000004DC:
000004DC 422E FDF6 clr.b [A6 - 0x20A]
000004E0 601C bra +0x1E /* 000004FE */
label000004E2:
000004E2 526E FDF4 addq.w [A6 - 0x20C], 1
000004E6 302E FDF4 move.w D0, [A6 - 0x20C]
000004EA 522E FDF6 addq.b [A6 - 0x20A], 1
000004EE 7200 moveq.l D1, 0x00
000004F0 122E FDF6 move.b D1, [A6 - 0x20A]
000004F4 41EE FDF6 lea.l A0, [A6 - 0x20A]
000004F8 11B4 0000 1000 move.b [A0 + D1.w], [A4 + D0.w]
label000004FE:
000004FE 7000 moveq.l D0, 0x00
00000500 1014 move.b D0, [A4]
00000502 322E FDF4 move.w D1, [A6 - 0x20C]
00000506 48C1 ext.l D1
00000508 B081 cmp.l D0, D1
0000050A 6ED6 bgt -0x28 /* 000004E2 */
0000050C 266D B2B4 movea.l A3, [A5 - 0x4D4C]
00000510 6002 bra +0x4 /* 00000514 */
label00000512:
00000512 2653 movea.l A3, [A3]
label00000514:
00000514 200B move.l D0, A3
00000516 6712 beq +0x14 /* 0000052A */
00000518 486E FDF6 pea.l [A6 - 0x20A]
0000051C 486B 0018 pea.l [A3 + 0x18]
00000520 4EAD 0CFA jsr [A5 + 0xCFA /* export_411 */]
00000524 4A40 tst.w D0
00000526 508F addq.l A7, 8
00000528 66E8 bne -0x16 /* 00000512 */
label0000052A:
0000052A 200B move.l D0, A3
0000052C 6600 01FE bne +0x200 /* 0000072C */
00000530 558F subq.l A7, 2
00000532 486E FEF6 pea.l [A6 - 0x10A]
00000536 3F2E FFF8 move.w -[A7], [A6 - 0x8]
0000053A 7000 moveq.l D0, 0x00
0000053C 1F00 move.b -[A7], D0
0000053E A9C4 syscall OpenRFPerm
00000540 3C1F move.w D6, [A7]+
00000542 3006 move.w D0, D6
00000544 48C0 ext.l D0
00000546 72FF moveq.l D1, 0xFFFFFFFF
00000548 B280 cmp.l D1, D0
0000054A 6606 bne +0x8 /* 00000552 */
0000054C 7A3D moveq.l D5, 0x3D
0000054E 6000 01DC bra +0x1DE /* 0000072C */
label00000552:
00000552 558F subq.l A7, 2
00000554 A994 syscall CurResFile
00000556 381F move.w D4, [A7]+
00000558 3F06 move.w -[A7], D6
0000055A A998 syscall UseResFile
0000055C 4AAD B2B0 tst.l [A5 - 0x4D50]
00000560 6714 beq +0x16 /* 00000576 */
00000562 598F subq.l A7, 4
00000564 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000056A 7000 moveq.l D0, 0x00
0000056C 3F00 move.w -[A7], D0
0000056E A81F syscall Get1Resource
00000570 2D5F FDEC move.l [A6 - 0x214], [A7]+
00000574 6676 bne +0x78 /* 000005EC */
label00000576:
00000576 4878 0218 push.l 0x218
0000057A 4EAD 0D8A jsr [A5 + 0xD8A /* export_429 */]
0000057E 2640 movea.l A3, D0
00000580 200B move.l D0, A3
00000582 588F addq.l A7, 4
00000584 6752 beq +0x54 /* 000005D8 */
00000586 486E FDF6 pea.l [A6 - 0x20A]
0000058A 486B 0018 pea.l [A3 + 0x18]
0000058E 7000 moveq.l D0, 0x00
00000590 102E FDF6 move.b D0, [A6 - 0x20A]
00000594 5280 addq.l D0, 1
00000596 2F00 move.l -[A7], D0
00000598 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
0000059C 486E FEF6 pea.l [A6 - 0x10A]
000005A0 486B 0118 pea.l [A3 + 0x118]
000005A4 7000 moveq.l D0, 0x00
000005A6 102E FEF6 move.b D0, [A6 - 0x10A]
000005AA 5280 addq.l D0, 1
000005AC 2F00 move.l -[A7], D0
000005AE 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
000005B2 7000 moveq.l D0, 0x00
000005B4 2740 0008 move.l [A3 + 0x8], D0
000005B8 2740 0010 move.l [A3 + 0x10], D0
000005BC 3746 0014 move.w [A3 + 0x14], D6
000005C0 3747 0016 move.w [A3 + 0x16], D7
000005C4 2740 000C move.l [A3 + 0xC], D0
000005C8 2740 0004 move.l [A3 + 0x4], D0
000005CC 26AD B2B4 move.l [A3], [A5 - 0x4D4C]
000005D0 2B4B B2B4 move.l [A5 - 0x4D4C], A3
000005D4 6000 0156 bra +0x158 /* 0000072C */
label000005D8:
000005D8 7A15 moveq.l D5, 0x15
000005DA 4A47 tst.w D7
000005DC 6604 bne +0x6 /* 000005E2 */
000005DE 3F06 move.w -[A7], D6
000005E0 A99A syscall CloseResFile
label000005E2:
000005E2 558F subq.l A7, 2
000005E4 A994 syscall CurResFile
000005E6 381F move.w D4, [A7]+
000005E8 6000 0142 bra +0x144 /* 0000072C */
label000005EC:
000005EC 2F2E FDEC move.l -[A7], [A6 - 0x214]
000005F0 4EAD 0422 jsr [A5 + 0x422 /* export_128 */]
000005F4 2F2E FDEC move.l -[A7], [A6 - 0x214]
000005F8 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
000005FC 2F2E FDEC move.l -[A7], [A6 - 0x214]
00000600 4EAD 03BA jsr [A5 + 0x3BA /* export_115 */]
00000604 2F2E FDEC move.l -[A7], [A6 - 0x214]
00000608 4EAD 040A jsr [A5 + 0x40A /* export_125 */]
0000060C 206E FDEC movea.l A0, [A6 - 0x214]
00000610 2D50 FDF0 move.l [A6 - 0x210], [A0]
00000614 206E FDF0 movea.l A0, [A6 - 0x210]
00000618 2010 move.l D0, [A0]
0000061A D0BC 0000 0218 add.l D0, 0x218
00000620 206E FDF0 movea.l A0, [A6 - 0x210]
00000624 2228 0004 move.l D1, [A0 + 0x4]
00000628 D280 add.l D1, D0
0000062A 2F01 move.l -[A7], D1
0000062C 4EAD 0D8A jsr [A5 + 0xD8A /* export_429 */]
00000630 2640 movea.l A3, D0
00000632 200B move.l D0, A3
00000634 588F addq.l A7, 4
00000636 6614 bne +0x16 /* 0000064C */
00000638 7A15 moveq.l D5, 0x15
0000063A 4A47 tst.w D7
0000063C 6604 bne +0x6 /* 00000642 */
0000063E 3F06 move.w -[A7], D6
00000640 A99A syscall CloseResFile
label00000642:
00000642 558F subq.l A7, 2
00000644 A994 syscall CurResFile
00000646 381F move.w D4, [A7]+
00000648 6000 00E2 bra +0xE4 /* 0000072C */
label0000064C:
0000064C 486E FDF6 pea.l [A6 - 0x20A]
00000650 486B 0018 pea.l [A3 + 0x18]
00000654 7000 moveq.l D0, 0x00
00000656 102E FDF6 move.b D0, [A6 - 0x20A]
0000065A 5280 addq.l D0, 1
0000065C 2F00 move.l -[A7], D0
0000065E 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
00000662 486E FEF6 pea.l [A6 - 0x10A]
00000666 486B 0118 pea.l [A3 + 0x118]
0000066A 7000 moveq.l D0, 0x00
0000066C 102E FEF6 move.b D0, [A6 - 0x10A]
00000670 5280 addq.l D0, 1
00000672 2F00 move.l -[A7], D0
00000674 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
00000678 200B move.l D0, A3
0000067A D0BC 0000 0218 add.l D0, 0x218
00000680 206E FDF0 movea.l A0, [A6 - 0x210]
00000684 2228 0004 move.l D1, [A0 + 0x4]
00000688 D280 add.l D1, D0
0000068A 2741 0008 move.l [A3 + 0x8], D1
0000068E 206E FDF0 movea.l A0, [A6 - 0x210]
00000692 2028 000C move.l D0, [A0 + 0xC]
00000696 D0AB 0008 add.l D0, [A3 + 0x8]
0000069A 2740 0010 move.l [A3 + 0x10], D0
0000069E 3746 0014 move.w [A3 + 0x14], D6
000006A2 3747 0016 move.w [A3 + 0x16], D7
000006A6 206E FDF0 movea.l A0, [A6 - 0x210]
000006AA 2028 0008 move.l D0, [A0 + 0x8]
000006AE E680 asr D0, 3
000006B0 2740 000C move.l [A3 + 0xC], D0
000006B4 206E FDF0 movea.l A0, [A6 - 0x210]
000006B8 2028 0008 move.l D0, [A0 + 0x8]
000006BC E280 asr D0, 1
000006BE 2F00 move.l -[A7], D0
000006C0 2F2B 0010 move.l -[A7], [A3 + 0x10]
000006C4 206E FDF0 movea.l A0, [A6 - 0x210]
000006C8 4868 0010 pea.l [A0 + 0x10]
000006CC 4EAD 0D22 jsr [A5 + 0xD22 /* export_416 */]
000006D0 2F2E FDEC move.l -[A7], [A6 - 0x214]
000006D4 A9A3 syscall ReleaseResource
000006D6 598F subq.l A7, 4
000006D8 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000006DE 7001 moveq.l D0, 0x01
000006E0 3F00 move.w -[A7], D0
000006E2 A81F syscall Get1Resource
000006E4 2D5F FDEC move.l [A6 - 0x214], [A7]+
000006E8 4FEF 000C lea.l A7, [A7 + 0xC]
000006EC 6718 beq +0x1A /* 00000706 */
000006EE 2F2E FDEC move.l -[A7], [A6 - 0x214]
000006F2 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
000006F6 2F2E FDEC move.l -[A7], [A6 - 0x214]
000006FA 4EAD 03BA jsr [A5 + 0x3BA /* export_115 */]
000006FE 2F2E FDEC move.l -[A7], [A6 - 0x214]
00000702 4EAD 040A jsr [A5 + 0x40A /* export_125 */]
label00000706:
00000706 26AD B2B4 move.l [A3], [A5 - 0x4D4C]
0000070A 7000 moveq.l D0, 0x00
0000070C 2F00 move.l -[A7], D0
0000070E 2F00 move.l -[A7], D0
00000710 2F0B move.l -[A7], A3
00000712 4EBA F98E jsr [PC - 0x672 /* 000000A2 */]
00000716 2F0B move.l -[A7], A3
00000718 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
0000071C 2740 0004 move.l [A3 + 0x4], D0
00000720 4EBA FA06 jsr [PC - 0x5FA /* 00000128 */]
00000724 2B4B B2B4 move.l [A5 - 0x4D4C], A3
00000728 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000072C:
0000072C 3F04 move.w -[A7], D4
0000072E A998 syscall UseResFile
00000730 4A45 tst.w D5
00000732 57C0 seq D0
00000734 0240 0001 andi.w D0, 0x1
00000738 4CEE 18F0 FDD4 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x22C]
0000073E 4E5E unlink A6
00000740 4E75 rts
export_1237:
fn00000742:
00000742 4E56 FFF8 link A6, -0x0008
00000746 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000074A 286E 0008 movea.l A4, [A6 + 0x8]
0000074E 558F subq.l A7, 2
00000750 A994 syscall CurResFile
00000752 3C1F move.w D6, [A7]+
00000754 4247 clr.w D7
label00000756:
00000756 266D B2B4 movea.l A3, [A5 - 0x4D4C]
0000075A 200B move.l D0, A3
0000075C 660C bne +0xE /* 0000076A */
0000075E 200C move.l D0, A4
00000760 6700 00BC beq +0xBE /* 0000081E */
00000764 7E3D moveq.l D7, 0x3D
00000766 6000 00B6 bra +0xB8 /* 0000081E */
label0000076A:
0000076A 7000 moveq.l D0, 0x00
0000076C 2D40 FFF8 move.l [A6 - 0x8], D0
00000770 220C move.l D1, A4
00000772 6726 beq +0x28 /* 0000079A */
00000774 6006 bra +0x8 /* 0000077C */
label00000776:
00000776 2D4B FFF8 move.l [A6 - 0x8], A3
0000077A 2653 movea.l A3, [A3]
label0000077C:
0000077C 200B move.l D0, A3
0000077E 6710 beq +0x12 /* 00000790 */
00000780 2F0C move.l -[A7], A4
00000782 486B 0018 pea.l [A3 + 0x18]
00000786 4EAD 0CFA jsr [A5 + 0xCFA /* export_411 */]
0000078A 4A40 tst.w D0
0000078C 508F addq.l A7, 8
0000078E 66E6 bne -0x18 /* 00000776 */
label00000790:
00000790 200B move.l D0, A3
00000792 6606 bne +0x8 /* 0000079A */
00000794 7E3D moveq.l D7, 0x3D
00000796 6000 0086 bra +0x88 /* 0000081E */
label0000079A:
0000079A 3A2B 0014 move.w D5, [A3 + 0x14]
0000079E 3F05 move.w -[A7], D5
000007A0 A998 syscall UseResFile
000007A2 558F subq.l A7, 2
000007A4 A9AF syscall ResError
000007A6 301F move.w D0, [A7]+
000007A8 48C0 ext.l D0
000007AA 0C80 FFFF FF3F cmpi.l D0, 0xFFFFFF3F
000007B0 6738 beq +0x3A /* 000007EA */
000007B2 4AAB 0004 tst.l [A3 + 0x4]
000007B6 6732 beq +0x34 /* 000007EA */
000007B8 206B 0004 movea.l A0, [A3 + 0x4]
000007BC 2D68 0002 FFFC move.l [A6 - 0x4], [A0 + 0x2]
000007C2 6726 beq +0x28 /* 000007EA */
000007C4 4AAD B2B0 tst.l [A5 - 0x4D50]
000007C8 6604 bne +0x6 /* 000007CE */
000007CA 7E3D moveq.l D7, 0x3D
000007CC 6050 bra +0x52 /* 0000081E */
label000007CE:
000007CE 7000 moveq.l D0, 0x00
000007D0 2F00 move.l -[A7], D0
000007D2 2F00 move.l -[A7], D0
000007D4 2F0B move.l -[A7], A3
000007D6 4EBA F8CA jsr [PC - 0x736 /* 000000A2 */]
000007DA 2F2E FFFC move.l -[A7], [A6 - 0x4]
000007DE 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
000007E2 4EBA F944 jsr [PC - 0x6BC /* 00000128 */]
000007E6 4FEF 0010 lea.l A7, [A7 + 0x10]
label000007EA:
000007EA 3F06 move.w -[A7], D6
000007EC A998 syscall UseResFile
000007EE 4A6B 0016 tst.w [A3 + 0x16]
000007F2 6604 bne +0x6 /* 000007F8 */
000007F4 3F05 move.w -[A7], D5
000007F6 A99A syscall CloseResFile
label000007F8:
000007F8 558F subq.l A7, 2
000007FA A994 syscall CurResFile
000007FC 3C1F move.w D6, [A7]+
000007FE 4AAE FFF8 tst.l [A6 - 0x8]
00000802 6708 beq +0xA /* 0000080C */
00000804 206E FFF8 movea.l A0, [A6 - 0x8]
00000808 2093 move.l [A0], [A3]
0000080A 6004 bra +0x6 /* 00000810 */
label0000080C:
0000080C 2B53 B2B4 move.l [A5 - 0x4D4C], [A3]
label00000810:
00000810 2F0B move.l -[A7], A3
00000812 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00000816 588F addq.l A7, 4
00000818 200C move.l D0, A4
0000081A 6700 FF3A beq -0xC4 /* 00000756 */
label0000081E:
0000081E 3F06 move.w -[A7], D6
00000820 A998 syscall UseResFile
00000822 4A47 tst.w D7
00000824 57C0 seq D0
00000826 0240 0001 andi.w D0, 0x1
0000082A 4CEE 18E0 FFE4 movem.l D5,D6,D7,A3,A4, [A6 - 0x1C]
00000830 4E5E unlink A6
00000832 4E75 rts